.bg {
  width: 100%;
  background: data-uri('../img/center_top.jpg') no-repeat center top;
  padding-top: 364px;

  &:after {
    content: '';
    display: block;
    position: relative;
    left: 4px;
    height: 90px;
    background: data-uri('../img/center_foot.png') no-repeat center bottom;
  }
}

.main-container {
  min-height: 100%;
  background: #261613 data-uri('../img/bottombg.jpg') no-repeat center bottom;
}

.personalCenter {
  padding: 0 20px;
  background: data-uri('../img/center_middle.jpg') repeat-y center top;
  // margin-bottom: 20px;
}

.personalCenter-content {
  color: #e7c16a;
  font-size: 14px;
}

.personalCenter-ad {
  text-align: center;
  margin: 10px 0;
  text-align: center;
  overflow: hidden;
}

.personalCenter-focus {
  position: relative;
  margin-bottom: 40px;

  .clear();

  .user-level {
    width: 180px;
    text-align: center;
    float: left;
    padding-top: 20px;

    .level-name {
      text-align: center;
      font-size: 16px;
      margin-top: 10px;
    }

    img {
      width: 100px;
      height: 100px;
    } 
  }

  .user-info {
    float: left;
    width: 530px;
    padding-top: 20px;
    position: relative;

    .user-name {
      font-size: 16px;
      margin-bottom: 30px;

      em {
        font-style: normal;
        font-weight: 700;
        color: #f3ee79;
      }
    }

    .level-name {
      text-align: left;
      margin-bottom: 10px;

      .level-name-item {
        padding: 17px;
      }
    }

    .level-prev {
      padding-left: 26px;
      margin-bottom: 30px;
    }

    .user-balance {
      font-size: 15px;

      em {
        font-style: normal;
        font-weight: 700;
        color: #f3ee79;
      }

      .btn-refresh {
        margin-left: 10px;
      }
    }
  }

  .user-money {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 205px;
    height: 69px;
    background: data-uri('../img/money.png') no-repeat center center;

    .user-money-title {
      padding-top: 20px;
      font-size: 20px;
      font-weight: bold;
      color: #fff;
      float: left;
      
      padding-left: 13px;
      width: 100px;
    }

    .user-money-content {
      margin-left: 100px;
      padding-left: 14px;
      padding-top: 16px;

      select {
        display: block;
        width: 80px;
        font-size: 12px;
        color: #000;
        margin-bottom: 5px;
      }

      .money {
        font-weight: bold;
        color: #fff100;
      }
    }
  }
}

.personalCenter-tab {
  padding: 0 20px;

  .clear();
}

.personalCenter-tabs {
  margin-bottom: 20px;
}

.personalCenter-tabs-wrap {
  border: 1px solid #54322a;
  .clear(); 
}

.personalCenter-tabs-item {
  float: left;
  width: 160px;
  height: 57px;
  line-height: 57px;
  border-right: 1px solid #54322a;
  text-align: center;
  padding: 0 10px;
  cursor: pointer;
  font-size: 18px;
  color: #e7c16a;
  position: relative;

  &.active,
  &:hover {
    color: #fff;
    background: data-uri('../img/nav-ac1.jpg') no-repeat top center;

    &:after {
      content: '';
      position: absolute;
      display: block;
      bottom: -1px;
      left: 0;
      width: 100%;
      background: #1d0f0e;
      height: 1px;
    }
  }
}

.personalCenter-contents-item {
  display: none;

  &.active {
    display: block;
  }

  .clear();
}

.personalCenter-side-tabs {
  float: left;
  width: 268px;
  border: 1px solid #54322a;
}

.personalCenter-side-tabs-item {
  height: 50px;
  line-height: 50px;
  color: #e7c16a;
  font-size: 16px;
  padding: 0 10px;
  text-align: center;
  border-top: 1px solid #54322a;
  cursor: pointer;

  &.active,
  &:hover {
    color: #fff;
    background: data-uri('../img/sidebarbg1.png') no-repeat center center;
  }

  &:first-child {
    border-top: 0;
  }

  .text-overflow();
}

.personalCenter-contents-item {
  display: none;

  &.active {
    display: block;
  }
}

.personalCenter-side-contents {
  margin-left: 268px + 20px;
  overflow: hidden;
  // border: 1px solid #54322a;
}

.personalCenter-side-contents-item {
  display: none;

  &.active {
    display: block;
  }
}